package com.automobile.domain;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;


/*
 * 订单信息
 */
public class Orderform implements Serializable{
	
	private int id;
	private int userId;//客戶的id
	private Integer merchantId;//商家的id
	private String address;//收获地址
	private BigDecimal money;//钱
	private Date orderTime;//下单时间
	private Date paymentTime;//付款时间

	
	public int getMerchantId() {
		return merchantId;
	}

	public void setMerchantId(Integer merchantId) {
		this.merchantId = merchantId;
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public int getUserId() {
		return userId;
	}

	public void setUserId(int userId) {
		this.userId = userId;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public BigDecimal getMoney() {
		return money;
	}

	public void setMoney(BigDecimal money) {
		this.money = money;
	}

	public Date getOrderTime() {
		return orderTime;
	}

	public void setOrderTime(Date orderTime) {
		this.orderTime = orderTime;
	}

	public Date getPaymentTime() {
		return paymentTime;
	}

	public void setPaymentTime(Date paymentTime) {
		this.paymentTime = paymentTime;
	}

	@Override
	public String toString() {
		return "OrderForm [id=" + id + ", userId=" + userId + ", merchantId=" + merchantId + ", address=" + address
				+ ", money=" + money + ", orderTime=" + orderTime + ", paymentTime=" + paymentTime + "]";
	}
	
}
